package com.cxm.homework3.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("com/cxm/homework3/xml/spring-config.xml");
        UserServiceImpl userService = ac.getBean(UserServiceImpl.class);
        userService.say();
    }
}
